home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC Gamer (Italian) 36
/
PC Gamer IT CD 36 2-2.iso
/
SINDEMO
/
sindemo2.exe
/
data
/
base
/
pak0.pak
/
models
/
camgun2.def
< prev
next >
Wrap
Text File
|
1998-09-22
|
1KB
|
58 lines
SDEF
path models/camgun2
scale 1.8
camgun_base2.tga
camgun2_base.sbm
down_idle camgun_idle.SAM
up_idle camgun_idle.SAM
lower camgun_idle.SAM
raise camgun_idle.SAM
fire camgun_fire.sam
id 2 group light fullbright
id 200 group camgun bone barrel 0 0 0 nodraw
//
// The initialization section
//
!init:
server classname actor
server weapon GenericBullet
server setsize "-12 -10 -10" "68 10 10"
client aliascache snd_fire1 "weapons/camgun/newmix.wav"
//
// The main section
//
!main:
server fire first attack_start
server fire 0 weaponsound
server fire 0 fire
client fire 0 randomsound snd_fire 1 1
client fire 1 attach barrel sprites/gunblast.spr time 0.05 scale 0.4 randomroll
server fire 1 weaponsound
server fire 1 fire
server fire 2 weaponsound
client fire 2 attach barrel sprites/gunblast.spr time 0.05 scale 0.4 randomroll
server fire 2 fire
server fire last attack_finished
server down_idle 0 checkvicinity
server lower 0 endseek
server lower end nextanim down_idle
server raise end seek
server raise end nextanim up_idle
//
// The SINED declaration section
//
/*SINED trap_camgun (1 .3 .3) (0 0 0) (0 0 0)
Rotating security turret that tracks players.
"angle" - Defines the initial orientation of the camgun
"yawrange" - Defines the yaw boundary of the camgun
"pitchrange" - Defines the pitch boundary of the camgun */
//